home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: all.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CR line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [ttxt] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 61 6c 6c 2d 2d 2d 54 |\section|{all---T|
|00000010| 65 73 74 20 66 6f 72 20 | 6e 6f 6e 2d 7a 65 72 6f |est for |non-zero|
|00000020| 20 6d 61 74 72 69 78 7d | 0d 5c 6c 61 62 65 6c 7b | matrix}|.\label{|
|00000030| 66 6e 3a 61 6c 6c 7d 0d | 5c 69 6e 64 65 78 7b 61 |fn:all}.|\index{a|
|00000040| 6c 6c 28 29 7d 0d 5c 69 | 6e 64 65 78 7b 74 65 73 |ll()}.\i|ndex{tes|
|00000050| 74 20 66 6f 72 20 6e 6f | 6e 2d 7a 65 72 6f 20 6d |t for no|n-zero m|
|00000060| 61 74 72 69 78 7d 0d 5c | 69 6e 64 65 78 7b 6d 61 |atrix}.\|index{ma|
|00000070| 74 72 69 78 21 74 65 73 | 74 7d 0d 5c 62 65 67 69 |trix!tes|t}.\begi|
|00000080| 6e 7b 72 61 69 6c 7d 0d | 41 6c 6c 20 3a 20 27 61 |n{rail}.|All : 'a|
|00000090| 6c 6c 27 20 27 28 27 20 | 28 20 53 63 61 6c 61 72 |ll' '(' |( Scalar|
|000000a0| 20 7c 20 4d 61 74 72 69 | 78 20 29 20 27 29 27 20 | | Matri|x ) ')' |
|000000b0| 3b 0d 5c 65 6e 64 7b 72 | 61 69 6c 7d 0d 0d 5c 76 |;.\end{r|ail}..\v|
|000000c0| 65 72 62 2b 61 6c 6c 2b | 20 74 65 73 74 73 20 66 |erb+all+| tests f|
|000000d0| 6f 72 20 6e 6f 6e 2d 7a | 65 72 6f 20 61 72 67 75 |or non-z|ero argu|
|000000e0| 6d 65 6e 74 73 2e 20 20 | 49 66 20 74 68 65 20 61 |ments. |If the a|
|000000f0| 72 67 75 6d 65 6e 74 20 | 69 73 20 61 20 73 63 61 |rgument |is a sca|
|00000100| 6c 61 72 2c 0d 74 68 65 | 20 72 65 73 75 6c 74 20 |lar,.the| result |
|00000110| 69 73 20 24 30 24 20 69 | 66 20 74 68 65 20 61 72 |is $0$ i|f the ar|
|00000120| 67 75 6d 65 6e 74 20 69 | 73 20 24 30 24 20 2d 20 |gument i|s $0$ - |
|00000130| 6f 74 68 65 72 77 69 73 | 65 20 74 68 65 20 72 65 |otherwis|e the re|
|00000140| 73 75 6c 74 20 69 73 0d | 24 31 24 2e 20 20 49 66 |sult is.|$1$. If|
|00000150| 20 74 68 65 20 61 72 67 | 75 6d 65 6e 74 20 69 73 | the arg|ument is|
|00000160| 20 61 20 72 6f 77 20 6f | 72 20 63 6f 6c 75 6d 6e | a row o|r column|
|00000170| 20 76 65 63 74 6f 72 2c | 20 5c 76 65 72 62 2b 61 | vector,| \verb+a|
|00000180| 6c 6c 2b 20 72 65 74 75 | 72 6e 73 0d 61 20 24 31 |ll+ retu|rns.a $1|
|00000190| 24 20 69 66 20 61 6c 6c | 20 6f 66 20 74 68 65 20 |$ if all| of the |
|000001a0| 65 6c 65 6d 65 6e 74 73 | 20 61 72 65 20 6e 6f 6e |elements| are non|
|000001b0| 2d 7a 65 72 6f 2e 20 20 | 49 66 20 74 68 65 20 61 |-zero. |If the a|
|000001c0| 72 67 75 6d 65 6e 74 20 | 69 73 20 73 6f 6d 65 0d |rgument |is some.|
|000001d0| 6f 74 68 65 72 20 6b 69 | 6e 64 20 6f 66 20 6d 61 |other ki|nd of ma|
|000001e0| 74 72 69 78 2c 20 5c 76 | 65 72 62 2b 61 6c 6c 2b |trix, \v|erb+all+|
|000001f0| 20 72 65 74 75 72 6e 73 | 20 61 20 72 6f 77 20 76 | returns| a row v|
|00000200| 65 63 74 6f 72 20 70 72 | 6f 64 75 63 65 64 0d 62 |ector pr|oduced.b|
|00000210| 79 20 70 65 72 66 6f 72 | 6d 69 6e 67 20 74 68 65 |y perfor|ming the|
|00000220| 20 74 65 73 74 20 6f 6e | 20 65 61 63 68 20 63 6f | test on| each co|
|00000230| 6c 75 6d 6e 20 69 6e 20 | 74 75 72 6e 2e 0d 0d 5c |lumn in |turn...\|
|00000240| 70 61 72 61 67 72 61 70 | 68 7b 45 78 61 6d 70 6c |paragrap|h{Exampl|
|00000250| 65 7d 0d 5c 69 6e 64 65 | 78 7b 65 78 61 6d 70 6c |e}.\inde|x{exampl|
|00000260| 65 20 6f 66 20 61 6c 6c | 28 29 7d 0d 5c 69 6e 64 |e of all|()}.\ind|
|00000270| 65 78 7b 61 6c 6c 28 29 | 21 65 78 61 6d 70 6c 65 |ex{all()|!example|
|00000280| 7d 0d 5c 62 65 67 69 6e | 7b 76 65 72 62 61 74 69 |}.\begin|{verbati|
|00000290| 6d 7d 0d 3e 20 61 20 3d | 20 5b 20 69 6e 66 28 29 |m}.> a =| [ inf()|
|000002a0| 2c 33 2c 34 2c 34 2c 30 | 5d 0d 20 61 20 3d 0d 20 |,3,4,4,0|]. a =. |
|000002b0| 49 6e 66 69 6e 69 74 79 | 20 20 20 20 20 20 20 20 |Infinity| |
|000002c0| 20 20 33 20 20 20 20 20 | 20 20 20 20 20 34 20 20 | 3 | 4 |
|000002d0| 20 20 20 20 20 20 20 20 | 34 20 20 20 20 20 20 20 | |4 |
|000002e0| 20 20 20 30 20 20 0d 3e | 20 61 6c 6c 28 61 29 0d | 0 .>| all(a).|
|000002f0| 20 20 20 20 20 20 20 20 | 30 20 20 0d 3e 20 62 20 | |0 .> b |
|00000300| 3d 20 5b 30 2c 30 2c 30 | 5d 0d 20 62 20 3d 0d 20 |= [0,0,0|]. b =. |
|00000310| 20 20 20 20 20 20 20 30 | 20 20 20 20 20 20 20 20 | 0| |
|00000320| 20 20 30 20 20 20 20 20 | 20 20 20 20 20 30 20 20 | 0 | 0 |
|00000330| 0d 3e 20 61 6c 6c 28 62 | 29 0d 20 20 20 20 20 20 |.> all(b|). |
|00000340| 20 20 30 20 20 0d 3e 20 | 63 20 3d 20 5b 20 6e 61 | 0 .> |c = [ na|
|00000350| 6e 28 29 2c 33 2c 34 2c | 34 2c 32 30 5d 0d 20 63 |n(),3,4,|4,20]. c|
|00000360| 20 3d 0d 20 20 20 20 20 | 20 4e 61 4e 20 20 20 20 | =. | NaN |
|00000370| 20 20 20 20 20 20 33 20 | 20 20 20 20 20 20 20 20 | 3 | |
|00000380| 20 34 20 20 20 20 20 20 | 20 20 20 20 34 20 20 20 | 4 | 4 |
|00000390| 20 20 20 20 20 20 32 30 | 20 20 0d 3e 20 61 6c 6c | 20| .> all|
|000003a0| 28 63 29 0d 20 20 20 20 | 20 20 20 20 31 20 20 0d |(c). | 1 .|
|000003b0| 3e 20 64 20 3d 20 5b 61 | 3b 62 2c 37 2c 33 3b 63 |> d = [a|;b,7,3;c|
|000003c0| 5d 0d 20 64 20 3d 0d 20 | 49 6e 66 69 6e 69 74 79 |]. d =. |Infinity|
|000003d0| 20 20 20 20 20 20 20 20 | 20 20 33 20 20 20 20 20 | | 3 |
|000003e0| 20 20 20 20 20 34 20 20 | 20 20 20 20 20 20 20 20 | 4 | |
|000003f0| 34 20 20 20 20 20 20 20 | 20 20 20 30 20 20 0d 20 |4 | 0 . |
|00000400| 20 20 20 20 20 20 20 30 | 20 20 20 20 20 20 20 20 | 0| |
|00000410| 20 20 30 20 20 20 20 20 | 20 20 20 20 20 30 20 20 | 0 | 0 |
|00000420| 20 20 20 20 20 20 20 20 | 37 20 20 20 20 20 20 20 | |7 |
|00000430| 20 20 20 33 20 20 0d 20 | 20 20 20 20 20 4e 61 4e | 3 . | NaN|
|00000440| 20 20 20 20 20 20 20 20 | 20 20 33 20 20 20 20 20 | | 3 |
|00000450| 20 20 20 20 20 34 20 20 | 20 20 20 20 20 20 20 20 | 4 | |
|00000460| 34 20 20 20 20 20 20 20 | 20 20 32 30 20 20 0d 3e |4 | 20 .>|
|00000470| 20 61 6c 6c 28 64 29 0d | 20 20 20 20 20 20 20 20 | all(d).| |
|00000480| 30 20 20 20 20 20 20 20 | 20 20 20 30 20 20 20 20 |0 | 0 |
|00000490| 20 20 20 20 20 20 30 20 | 20 20 20 20 20 20 20 20 | 0 | |
|000004a0| 20 31 20 20 20 20 20 20 | 20 20 20 20 30 20 20 0d | 1 | 0 .|
|000004b0| 3e 20 61 6c 6c 28 61 6c | 6c 28 64 29 29 0d 20 20 |> all(al|l(d)). |
|000004c0| 20 20 20 20 20 20 30 20 | 20 0d 5c 65 6e 64 7b 76 | 0 | .\end{v|
|000004d0| 65 72 62 61 74 69 6d 7d | 0d 0d 53 65 65 20 61 6c |erbatim}|..See al|
|000004e0| 73 6f 3a 20 50 61 67 65 | 7e 5c 70 61 67 65 72 65 |so: Page|~\pagere|
|000004f0| 66 7b 66 6e 3a 61 6e 79 | 7d 20 5c 76 65 72 62 2b |f{fn:any|} \verb+|
|00000500| 61 6e 79 28 29 2b 2e 0d | 0d 5c 6e 65 77 70 61 67 |any()+..|.\newpag|
|00000510| 65 20 0d 0d 0d 0d 0d 0d | 0d |e ......|. |
+--------+-------------------------+-------------------------+--------+--------+